/* USER CODE BEGIN Header */
/**
  ******************************************************************************
  * @file           : main.h
  * @brief          : Header for main.c file.
  *                   This file contains the common defines of the application.
  ******************************************************************************
  * @attention
  *
  * Copyright (c) 2024 STMicroelectronics.
  * All rights reserved.
  *
  * This software is licensed under terms that can be found in the LICENSE file
  * in the root directory of this software component.
  * If no LICENSE file comes with this software, it is provided AS-IS.
  *
  ******************************************************************************
  */
/* USER CODE END Header */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __MAIN_H
#define __MAIN_H

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "stm32f4xx_hal.h"

/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */

/* USER CODE END Includes */

/* Exported types ------------------------------------------------------------*/
/* USER CODE BEGIN ET */

/* USER CODE END ET */

/* Exported constants --------------------------------------------------------*/
/* USER CODE BEGIN EC */

/* USER CODE END EC */

/* Exported macro ------------------------------------------------------------*/
/* USER CODE BEGIN EM */

/* USER CODE END EM */

/* Exported functions prototypes ---------------------------------------------*/
void Error_Handler(void);

/* USER CODE BEGIN EFP */

/* USER CODE END EFP */

/* Private defines -----------------------------------------------------------*/
#define pwm_Pin GPIO_PIN_3
#define pwm_GPIO_Port GPIOE
#define pwmE4_Pin GPIO_PIN_4
#define pwmE4_GPIO_Port GPIOE
#define key_Pin GPIO_PIN_0
#define key_GPIO_Port GPIOF
#define keyF1_Pin GPIO_PIN_1
#define keyF1_GPIO_Port GPIOF
#define keyF2_Pin GPIO_PIN_2
#define keyF2_GPIO_Port GPIOF
#define keyF3_Pin GPIO_PIN_3
#define keyF3_GPIO_Port GPIOF
#define keyF4_Pin GPIO_PIN_4
#define keyF4_GPIO_Port GPIOF
#define keyF5_Pin GPIO_PIN_5
#define keyF5_GPIO_Port GPIOF
#define sebiao_Pin GPIO_PIN_6
#define sebiao_GPIO_Port GPIOF
#define sebiaoF7_Pin GPIO_PIN_7
#define sebiaoF7_GPIO_Port GPIOF
#define led_Pin GPIO_PIN_8
#define led_GPIO_Port GPIOF
#define ledF9_Pin GPIO_PIN_9
#define ledF9_GPIO_Port GPIOF
#define ledF10_Pin GPIO_PIN_10
#define ledF10_GPIO_Port GPIOF
#define lcd_res_Pin GPIO_PIN_4
#define lcd_res_GPIO_Port GPIOC
#define lcd_dc_Pin GPIO_PIN_5
#define lcd_dc_GPIO_Port GPIOC
#define lcd_cs_Pin GPIO_PIN_0
#define lcd_cs_GPIO_Port GPIOB
#define lcd_bl_Pin GPIO_PIN_1
#define lcd_bl_GPIO_Port GPIOB
#define buzzer_Pin GPIO_PIN_12
#define buzzer_GPIO_Port GPIOF
#define sebiaoF13_Pin GPIO_PIN_13
#define sebiaoF13_GPIO_Port GPIOF
#define sebiaoF14_Pin GPIO_PIN_14
#define sebiaoF14_GPIO_Port GPIOF
#define gonggong_Pin GPIO_PIN_0
#define gonggong_GPIO_Port GPIOG
#define gonggongG1_Pin GPIO_PIN_1
#define gonggongG1_GPIO_Port GPIOG
#define pwmB12_Pin GPIO_PIN_12
#define pwmB12_GPIO_Port GPIOB
#define pwmB13_Pin GPIO_PIN_13
#define pwmB13_GPIO_Port GPIOB
#define sebiaoG5_Pin GPIO_PIN_5
#define sebiaoG5_GPIO_Port GPIOG
#define sebiaoG6_Pin GPIO_PIN_6
#define sebiaoG6_GPIO_Port GPIOG
#define sebiaoG7_Pin GPIO_PIN_7
#define sebiaoG7_GPIO_Port GPIOG
#define sebiaoG8_Pin GPIO_PIN_8
#define sebiaoG8_GPIO_Port GPIOG
#define sebiaoD3_Pin GPIO_PIN_3
#define sebiaoD3_GPIO_Port GPIOD
#define sebiaoD4_Pin GPIO_PIN_4
#define sebiaoD4_GPIO_Port GPIOD

/* USER CODE BEGIN Private defines */

/* USER CODE END Private defines */

#ifdef __cplusplus
}
#endif

#endif /* __MAIN_H */
